import Department from "../views/department/department";
import DepartmentList from "../views/department/list";
import DepartmentDetail from "../views/department/detail";
const department = {
    path: "/departmentManage",
    component: Department,
    redirect: "/departmentManage/list",
    meta: {
        title: "医院信息管理",
        requireAuth: true
    },
    children: [
        {
            path: "list",
            component: DepartmentList,
            meta: {
                title: "科室列表",
                requireAuth: true
            }
        },
        {
            path: "add",
            component: DepartmentDetail,
            meta: {
                title: "添加科室",
                requireAuth: true
            }
        },
        {
            path: "update",
            component: DepartmentDetail,
            meta: {
                title: "编辑科室",
                requireAuth: true
            }
        }
    ]
};

export default department;
